import base from './base'

export default class topic extends base {
  /**
   * 获取题目列表
   * @param params
   * @returns {Promise.<*>}
   */
  static async topics(params) {
    const url = `${this.baseUrl}questions`
    return await this.get(url, params, false)
  }
}